﻿@model MusicStore.Models.Album

@{
    ViewBag.Title = "Details";
}

<h2>详细信息</h2>
@using (Html.BeginForm())
{
    //Html.Bingin("Details","SampleSearch")
    @Html.ValidationSummary(true);
    <fieldset>
        <legend></legend>
        @Html.HiddenFor(model => model.AlbumId)
        <p>
            @Html.Label("GenreId")
            @Html.DisplayFor(model => model.Genre.Name)
        </p>
        <p>
            @Html.Label("ArtistId")
            @Html.DisplayFor(model => model.Artist.Name)
        </p>
        <p>
            @Html.Label("Titleid")
            @Html.DisplayFor(model => model.Title)
        </p>
        <p>
            @Html.Label("Price")
            @Html.DisplayFor(model => model.Price)
        </p>
    </fieldset>
}
@*<div>
        <h4>Album</h4>
        <hr />
        <dl class="dl-horizontal">
            <dt>
                @Html.DisplayNameFor(model => model.Artist.Name)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Artist.Name)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Genre.Name)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Genre.Name)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.AlbumArtUrl)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.AlbumArtUrl)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Price)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Price)
            </dd>

            <dt>
                @Html.DisplayNameFor(model => model.Title)
            </dt>

            <dd>
                @Html.DisplayFor(model => model.Title)
            </dd>

        </dl>
    </div>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id = Model.AlbumId }) |
        @Html.ActionLink("Back to List", "Index")
    </p>*@
